package com.domain.dao;

import com.domain.pojo.UsersGroupInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersGroupInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(UsersGroupInfo record);

    int insertSelective(UsersGroupInfo record);

    UsersGroupInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UsersGroupInfo record);

    int updateByPrimaryKey(UsersGroupInfo record);

    UsersGroupInfo selectByCreatGroupAndAccpentId(@Param("publish") String publish, @Param("pushUsersId") String pushUsersId, @Param("pushUsersSendId") String pushUsersSendId);

    List<UsersGroupInfo> selectByCreatGroupAndUsersId(@Param("publishId") String publishId, @Param("usersId") String usersId);

    UsersGroupInfo selectByCreatGroupId(@Param("s") String s);
}